# -*- coding: utf-8 -*-
# File : my_pie.py
# Author: taoyahui
# Date : 2022/6/8

import matplotlib.pyplot as plt

labels = ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
data = [5, 20, 36, 10, 75, 90]
plt.pie(data, labels=labels)
plt.rcParams['font.sans-serif'] = ['SimHei']

plt.show()
plt.close()

